package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 【请填写功能名称】对象 qualification
 *
 * @author ruoyi
 * @date 2021-04-29
 */
public class Qualification extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    private Long id;

    /**
     * 供应商名字
     */
    @Excel(name = "供应商名字")
    private String businessName;

    /**
     * (企业资质)0/1有无
     */
    @Excel(name = "(企业资质)0/1有无")
    private Integer quaState;

    /**
     * (营业执照）0/1有无
     */
    @Excel(name = "(营业执照）0/1有无")
    private Integer licenseState;
    /** 到期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date EndTime;

    public Date getEndTime() {
        return EndTime;
    }

    public void setEndTime(Date endTime) {
        EndTime = endTime;
    }

    //材料列表
    private List<Formalities> formalities;

    public List<Formalities> getFormalities() {
        return formalities;
    }

    public void setFormalities(List<Formalities> formalities) {
        this.formalities = formalities;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setQuaState(Integer quaState) {
        this.quaState = quaState;
    }

    public Integer getQuaState() {
        return quaState;
    }

    public void setLicenseState(Integer licenseState) {
        this.licenseState = licenseState;
    }

    public Integer getLicenseState() {
        return licenseState;
    }


    @Override
    public String toString() {
        return "Qualification{" +
                "id=" + id +
                ", businessName='" + businessName + '\'' +
                ", quaState=" + quaState +
                ", licenseState=" + licenseState +
                ", EndTime=" + EndTime +
                ", formalities=" + formalities +
                '}';
    }
}